package com.dengjunbo.eduorder;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author dengjunbo
 * @date 2020/4/30-16:32
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.dengjunbo.eduorder.mapper")
@ComponentScan(basePackages = {"com.dengjunbo"})
@EnableFeignClients
public class OrdersApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrdersApplication.class, args);
    }
}
